package com.hou.shopping.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 1.进行逻辑删除：
 *     配置文件中配置：mybatis的逻辑删除配置
 *     mybatis-plus:
 *       global-config:
 *          db-config:
 *              logic-delete-value: 1
 *              logic-not-delete-value: 0
 *     给某一个字段加上逻辑删除注解  @TableLogic(value = "1",delval = "0")
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.hou.shopping.product.dao")
public class ShoppingProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(ShoppingProductApplication.class,args);
    }
}
